/**
 * 
 */
package org.leaves.mailsend.mail;

import java.util.ArrayList;
import java.util.List;

/**
 * @author chen
 * 
 */
public class MailAction {
	private static List list = new ArrayList();

	public boolean listadd(Mail mail) {
		return list.add(mail);
	}

	public int listsize() {
		if (list == null) {
			return 0;
		} else
			return list.size();
	}

}
